package com.xayy.mgt.mapper;

import cn.kawins.mybatis.BaseMapper;
import com.xayy.mgt.model.HealthSituation;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * @author Nie
 * @version V1.0
 * @date 2023/8/17 11:45
 */
public interface HealthSituationMapper extends BaseMapper<HealthSituation> {

    /**
     * 查询最新健康评估数据
     */
    HealthSituation selectNewHealthData(@Param("nodeId") Long nodeId, @Param("time") Date time, @Param("type") String type);
}
